#set( $symbol_pound = '#' )
#set( $symbol_dollar = '$' )
#set( $symbol_escape = '\' )
package ${package}.config;


import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author: yangfei
 * @desc: 产品code注册获取
 * @date: created in 2019/4/03 11:09
 * @modifed by:
 */
@ConfigurationProperties(prefix = AuthorityCodeProperties.PREFIX)
@Data
public class AuthorityCodeProperties {

    public static final String PREFIX = "biz.app";

    @NotNull
    private List<Auth> authCodes;

    public static class Auth {
        private String code;
        private String name;
        private String enName;
        private String appCode;

        public String getCode() {
            return code;
        }

        public void setCode(String code) {
            this.code = code;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getEnName() {
            return enName;
        }

        public void setEnName(String enName) {
            this.enName = enName;
        }


        public String getAppCode() {
            return appCode;
        }

        public void setAppCode(String appCode) {
            this.appCode = appCode;
        }

    }

}
